.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "LABGRID-SUGGEST" 1 "2021-05-20" "0.0.1" "embedded testing"
.SH NAME
labgrid-suggest \- labgrid-suggest generator for YAML config files
.SH SYNOPSIS
.sp
\fBlabgrid\-suggest\fP \fB\-\-help\fP
.sp
\fBlabgrid\-suggest\fP \fB\-\-debug\fP
.SH DESCRIPTION
.sp
Labgrid is a scalable infrastructure and test architecture for embedded (linux) systems.
.sp
This is the man page for a helper tool which will output the proper YAML formatted
snippets for udev scanned devices.
The snippets can be added under the resource key in an environment configuration.
.SH OPTIONS
.INDENT 0.0
.TP
.B  \-h\fP,\fB  \-\-help
display command line help
.TP
.B  \-d\fP,\fB  \-\-debug
enable debug mode
.UNINDENT
.SH EXAMPLES
.sp
For a device that has an \fBID_SERIAL_SHORT\fP key with a unique ID embedded
in the USB\-serial converter, \fBlabgrid\-suggest\fP shows two alternatives:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
=== added device ===
USBSerialPort for /devices/pci0000:00/0000:00:01.3/0000:02:00.0/usb1/1\-3/1\-3.1/1\-3.1:1.0/ttyUSB0/tty/ttyUSB0
=== device properties ===
device node: /dev/ttyUSB0
udev tags: , systemd
vendor: Silicon_Labs
vendor (DB): Advanced Micro Devices, Inc. [AMD]
model: CP2102_USB_to_UART_Bridge_Controller
revision: 0100
=== suggested matches ===
USBSerialPort:
  match:
    ID_PATH: pci\-0000:02:00.0\-usb\-0:3.1:1.0
\-\-\-
USBSerialPort:
  match:
    ID_SERIAL_SHORT: P\-00\-03564
\-\-\-
.ft P
.fi
.UNINDENT
.UNINDENT
.SH SEE ALSO
.sp
\fBlabgrid\-device\-config\fP(5)

Organization: Labgrid-Project
.SH COPYRIGHT
Copyright (C) 2016-2024 Pengutronix. This library is free software;
you can redistribute it and/or modify it under the terms of the GNU
Lesser General Public License as published by the Free Software
Foundation; either version 2.1 of the License, or (at your option)
any later version.
.\" Generated by docutils manpage writer.
.
